let mongoose = require('mongoose')

let group = new mongoose.Schema({
    groupName: {
        type: String
    },
    menuData: {
        type: String
    },
    peopleNum: {
        type: Number,
        default: 0
    },
    CheckedKey: {
        type: Array,
        default: []
    },
    range: Object
})

module.exports = mongoose.model('group', group, 'groups')